]> dgit.raspbian.org Git - gnome-shell.git/commit
calendar: Start ranges at 0:00 and iterate in whole days
authorSebastian Keller <skeller@gnome.org>
Thu, 4 Nov 2021 14:34:45 +0000 (15:34 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 30 Nov 2021 02:13:24 +0000 (02:13 +0000)
commit96047783437a55b5421f3535f9979fdd630b5285
treef0274fb8ed65e6360970ccfeb7512db3b9ffc7e3
parent2fffe914889142e4088baebccbe38a285f6a23c3
calendar: Start ranges at 0:00 and iterate in whole days

Using a starting time other than 0:00 will prevent events before the
chosen starting time from showing up for that range. This was causing
events before 12:00 to be missing in the shell calendar on the first day
of a range.

Fix this by always starting at 0:00 and then incrementing by days rather
than a time value that depending on DST or leap seconds may or may not
correspond to a day.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2023>
js/ui/calendar.js